package com.wc.trainTest.几个零;

import java.util.Scanner;

/**
 * @Author congge
 * @Date 2024/1/26 13:09
 * @description https://acm.creative3605.com/contest/68/problem/C
 */
public class Main {
    static int N = 20;
    static long[][] f = new long[N][10];

    static void init() {

    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long n = sc.nextLong();
        if ((n & 1) == 1) {
            System.out.println(0);
        } else {
            long res = 0;

        }
    }
}
// 124999999999999995
// 111111111111111111
